package com.qymerge.manage.data.dao;

import com.qymerge.manage.core.bean.PageRequest;
import com.qymerge.manage.data.dto.XFRecordDto;
import com.qymerge.manage.data.ro.XFRecordRO;

import java.util.List;

/**
 *<p>Title: IXFRecordDao</p>
 *<p>Description: 消费记录</p>
 *
 *@Author cong.zhang
 *@Version 1.0.0
 *@Date 2020/12/24
 *@Time 17:52
 */
public interface IXFRecordDao {

    List list(XFRecordDto ro, PageRequest pageRequest);

    int total(XFRecordDto ro);

    XFRecordRO findOne(Long id);

    List<XFRecordRO> findAll(XFRecordDto ro);

    int install(XFRecordRO ro);

    int update(XFRecordRO ro);

    int remove(List<Long> ids);

}
